package com.ziroom.finance.rabbitmq.test.dao;

import com.ziroom.finance.rabbitmq.test.entity.SmsLog;

import java.util.List;
import java.util.Map;

/**
 * 短信日志dao
 * @Author liyb58
 * @Date 2017/2/9 15:30
 * @return 
 */
public interface SmsLogMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SmsLog record);

    int insertSelective(SmsLog record);

    SmsLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SmsLog record);

    int updateByPrimaryKey(SmsLog record);

    /**
     * 根据条件获取符合条件的id
     * @Author liyb58
     * @Date
     * @return
     */
    List<Integer> findIdByParam(Map<String, Object> param);

    /**
     * 根据条件获取符合条件的数量
     * @Author liyb58
     * @Date
     * @return
     */
    int countByParam(Map<String, Object> param);
}